package com.baseframe.system.entity.vo;

import com.baseframe.tool.utils.data.NodeUtil;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class BaseDictVO extends NodeUtil.Node<BaseDictVO> {

    /**
     * 主键
     */
    private Long id;

    /**
     * 父节点
     */
    private Long parent;

    /**
     * 字典编码
     */
    private String code;

    /**
     * 字典名
     */
    private String name;

    /**
     * 字典值
     */
    private String value;

    /**
     * 排序
     */
    private Integer sort;

    /**
     *
     */
    private String remark;

    /**
     * 状态:0=禁用,1=启用
     */
    private Integer status;

    private String statusName;

    private List<BaseDictVO> childNode;

    private boolean haseChild;

}
